package com.hzit.manager.controller;

import com.hzit.manager.client.UserClient;
import com.hzit.manager.service.IBrandService;
import com.ruoyi.common.core.domain.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 类名：
 * 作者：WF
 * 功能：
 */
@RestController
@RequestMapping("/manager")
public class UserManagerController {

	@Autowired
	private IBrandService brandService;

	@GetMapping("/user/add")
	public R userAdd(){
		R r = brandService.addBrandAndUser();
		return r;
	}
}
